// conventional-changelog-config.js
module.exports = {
  preset: 'angular', // 使用 angular 预设作为基础
  types: [
    { value: 'feat', name: 'feat:     ✨ (new feature for the user, not a new feature for build script)' },
    { value: 'fix', name: 'fix:      🛠 (bug fix for the user, not a fix to a build script)' },
    { value: 'docs', name: 'docs:     📖 (changes to documentation)' },
    { value: 'style', name: 'style:   🎨 (updates formatting, missing semi-colons, etc; no production code change)' },
    { value: 'refactor', name: 'refactor: 🛠 (a code change that neither fixes a bug nor adds a feature)' },
    { value: 'perf', name: 'perf:     ⚡️ (a code change that improves performance)' },
    { value: 'test', name: 'test:     🚀 (adding missing tests or correcting existing tests)' },
    { value: 'chore', name: 'chore:   🤖 (updating grunt tasks etc; no production code change)' },
    { value: 'revert', name: 'revert:  ⏪️ (reverts a previous commit)' },
    { value: 'ci', name: 'ci:        🚀 (changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs))' },
    { value: 'build', name: 'build:   🏗️ (changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm))' },
    // 添加你自己的 emoji 映射
    { value: 'emjoy', name: 'emjoy:   😊 (changes related to emjoy feature)' },
  ],
};